<%--
  Created by IntelliJ IDEA.
  User: maTengLong
  Date: 2020/3/11
  Time: 16:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" %>

<%

    request.setCharacterEncoding("utf-8");
    if("166".equals(request.getParameter("pwd"))){
        response.sendRedirect("ok.jsp");
    }else {
        request.setAttribute("error","密码不正确！");
        request.getRequestDispatcher("login.jsp").forward(request,response);
    }

%>
